import Layout from '@/views/layout/Layout'

const adv_order = {
  path: '/adv_order',
  component: Layout,
  name: 'adv_order',
  meta: { title: '广告订单', roles: ['17', '18', '16', '19', '14', '20', '15'], icon: 'dingdan' },
  children: [
    {
      path: '',
      name: 'adv_order.adv_order',
      component: () => import('@/views/adv_order/adv_order/index'),
      meta: { title: '广告订单列表', icon: 'subsystem', fullPath: '/adv_order/adv_order' }
    },
    {
      path: 'upload',
      name: 'adv_order.upload',
      hidden: true,
      component: () => import('@/views/adv_order/adv_order/upload'),
      meta: { title: '广告订单导入', icon: 'subsystem', fullPath: '/adv_order/upload' }
    },
    {
      path: 'order_info',
      name: 'adv_order.order_info',
      hidden: true,
      component: () => import('@/views/adv_order/adv_order/order_info'),
      meta: { title: '修改订单信息', icon: 'subsystem', fullPath: '/adv_order/order_info' }
    },
    // {
    //   path: 'wz_order',
    //   name: 'adv_order.wz_order',
    //   component: () => import('@/views/adv_order/wz_order/index'),
    //   meta: { title: '微赞广告订单', icon: 'subsystem', fullPath: '/adv_order/wz_orderindex.vue' }
    // },
    // {
    //   path: 'cm_outer',
    //   name: 'adv_order.cm_outer',
    //   component: () => import('@/views/adv_order/cm_outer/index'),
    //   meta: { title: '城觅外部订单', icon: 'subsystem', fullPath: '/adv_order/cm_outer' }
    // },
    // {
    //   path: 'cm_self',
    //   name: 'adv_order.cm_self',
    //   component: () => import('@/views/adv_order/cm_self/index'),
    //   meta: { title: '城觅自有订单', icon: 'subsystem', fullPath: '/adv_order/cm_self' }
    // },
    {
      path: 'check',
      name: 'adv_order.check',
      component: () => import('@/views/adv_order/order_check/index'),
      meta: { title: '订单修改审核', roles: ['1', '17'], icon: 'subsystem', fullPath: '/adv_order/check' }
    },
    {
      path: 'check_info',
      name: 'adv_order.check_info',
      hidden: true,
      component: () => import('@/views/adv_order/order_check/order_info'),
      meta: { title: '订单审核详情', roles: ['1', '17'], icon: 'subsystem', fullPath: '/adv_order/check_info' }
    }
    //  {
    //   path: 'other_income',
    //   name: 'adv_order.other_income',
    //   component: () => import('@/views/adv_order/other_income/index'),
    //   meta: { title: '其他收入',  icon: 'subsystem', fullPath: '/adv_order/other_income' }
    // },
    // {
    //   path: 'other_income_info',
    //   name: 'adv_order.other_income_info',
    //   hidden: true,
    //   component: () => import('@/views/adv_order/other_income/order_info'),
    //   meta: { title: '其他收入详情',  icon: 'subsystem', fullPath: '/adv_order/other_income_info' }
    // }
  ]
}

export default adv_order
